@import 'open-props/postcss/style';
@import 'open-props/postcss/normalize';
* {
  box-sizing: border-box;
}
:root {
  body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;
    width: 100vw;
    padding: 10px;
  }
}

#app {
  width: min(calc(100vw - 20px), 600px);
  @media (--sm-n-above) {
    column-count: 2;
  }
  @media (--md-n-above) {
    column-count: 3;
  }
  @media (--lg-n-above) {
    column-count: 4;
  }
  div {
    margin-bottom: 20px;
    img {
      width: 100%;
      border-radius: var(--radius-2);
      display: block;
      margin-bottom: 0.5rem;
    }
    span {
      display: block;
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;
      font-size: var(--font-size-0);
    }
  }
}
